package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description
 */
@FieldTypeAnnotation(tableName = "t_l_ck_activity_peakseacraft_durable_log", desc = "巅峰海上争霸-船只耐久变化日志", autoSave = true, uploadCk = true, isCross = true)
public class LogPeakSeacraftDurable extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionId;
    @FieldTypeAnnotation(desc = "海域")
    private int area;
    @FieldTypeAnnotation(desc = "分组")
    private int groupNum;
    @FieldTypeAnnotation(desc = "变更类型 1初始  3进攻 4突袭 5修复 6火药 ")
    private int type;
    @FieldTypeAnnotation(desc = "敌方玩家id")
    private long targetId;
    @FieldTypeAnnotation(desc = "敌方商会Id")
    private String targetUnionId;
    @FieldTypeAnnotation(desc = "变更前耐久值")
    private long oldDurable;
    @FieldTypeAnnotation(desc = "变更前航速 放大一百倍")
    private long oldV;
    @FieldTypeAnnotation(desc = "变更后耐久值")
    private long newDurable;
    @FieldTypeAnnotation(desc = "变更后航速")
    private long newV;

    public LogPeakSeacraftDurable(int activityId, String unionId, int type, long targetId, String targetUnionId, long oldDurable, long oldV, long newDurable, long newV, long time, int area, int group) {
        this.activityId = activityId;
        this.unionId = unionId;
        this.type = type;
        this.targetId = targetId;
        this.targetUnionId = targetUnionId;
        this.oldDurable = oldDurable;
        this.oldV = oldV;
        this.newDurable = newDurable;
        this.newV = newV;
        this.area = area;
        this.groupNum = group;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getTargetId() {
        return targetId;
    }

    public void setTargetId(long targetId) {
        this.targetId = targetId;
    }

    public String getTargetUnionId() {
        return targetUnionId;
    }

    public void setTargetUnionId(String targetUnionId) {
        this.targetUnionId = targetUnionId;
    }

    public long getOldDurable() {
        return oldDurable;
    }

    public void setOldDurable(long oldDurable) {
        this.oldDurable = oldDurable;
    }

    public long getOldV() {
        return oldV;
    }

    public void setOldV(long oldV) {
        this.oldV = oldV;
    }

    public long getNewDurable() {
        return newDurable;
    }

    public void setNewDurable(long newDurable) {
        this.newDurable = newDurable;
    }

    public long getNewV() {
        return newV;
    }

    public void setNewV(long newV) {
        this.newV = newV;
    }

    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }

    public int getGroupNum() {
        return groupNum;
    }

    public void setGroupNum(int groupNum) {
        this.groupNum = groupNum;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
